package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.BeforeDye;
import com.zhijian.medical.entity.vo.request.BeforeDyeSearchVo;
import com.zhijian.medical.entity.vo.response.BeforeDyeListVo;
import com.zhijian.medical.entity.vo.response.BeforeDyeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BeforeDyeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BeforeDye record);

    int insertSelective(BeforeDye record);

    BeforeDye selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BeforeDye record);

    int updateByPrimaryKey(BeforeDye record);

    int count(BeforeDyeSearchVo beforeDyeSearchVo);

    List<BeforeDyeListVo> selectList(BeforeDyeSearchVo beforeDyeSearchVo);

    BeforeDyeVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<BeforeDye> entities);
}